package net.hn.hnms.biz.emgcy.template;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.BooleanEnum;
import lombok.Data;

@Data
@HeadFontStyle(bold = BooleanEnum.FALSE)
@ColumnWidth(20)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class MaterialTemplate {

    @ExcelProperty(value = "资源种类,多个用/分隔")
    private String type;

    @ExcelProperty(value = "资源名称")
    private String name;

    @ExcelProperty(value = "规格")
    private String specification;

    @ExcelProperty(value = "数量")
    private Integer quantity;

    @ExcelProperty(value = "计量单位")
    private String unit;

    @ExcelProperty(value = "资源存放地点")
    private String address;

    @ExcelProperty(value = "责任单位")
    private String dept;

    @ExcelProperty(value = "责任人")
    private String keeper;

    @ExcelProperty(value = "联系电话")
    private String phone;

    @ExcelProperty(value = "备注")
    private String description;

/*    @ExcelIgnore
    private String warehouseId;*/

//    @ExcelProperty(value = "物资型号")
//    private String version;


    /*@ExcelProperty(value = "购入时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "时间不能为空")
    private String tobuyAt;*/
    //    @ExcelProperty(value = "物资生产厂家")
//    private String manufacturer;
    /*@ExcelProperty(value = "物资出厂日期")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "时间不能为空")
    private String productAt;
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "物资有效截止日期")
    @NotNull(message = "时间不能为空")
    private String validityAt;

    @ExcelProperty(value = "物资性能说明")
    private String performance;


    @ExcelProperty(value = "联系电话")
    private String tel;*/


//    @ExcelProperty(value = "物资库名称")
//    private String warehouseName;

}
